package com.csy.user.entity.owner.domain;

import com.csy.commons.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper=false)
public class AjOwnerRoom extends BaseEntity {
	private static final long serialVersionUID = 8527040366304073409L;
//    房屋绑定id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ownerRoomId;
//    小区id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long communityId;
//    楼栋id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long buildingId;
//    单元id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long unitId;
//    房间id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long roomId;
//    业主id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ownerId;
//    业主类型
    private String ownerType;
//    绑定状态（0审核中 1绑定 2审核失败）
    private String roomStatus;

}
